package com.tongjie.hotelbooking.dto;

import com.tongjie.hotelbooking.im.message.entiry.MessageType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ImMessageDto implements Serializable {

    private static final long serialVersionUID = 4798848181049652625L;
    
    private Long id;

    private Long conversationId;

    private Long memberConversationId;

    private Long senderId;

    private MessageType messageType;

    private String messageBody;

    private String avatar;

    private String sendDate;

}
